#!/data/data/com.termux/files/usr/bin/sh


echo "=========================================="
echo "本配置文件由渐行渐远渐陌生编写"
echo "欢迎使用，一键部署AutojsPro本地服务端环境"
echo "五云学习(https://www.wuyunai.com)"
echo ""
echo "=========================================="
# # 修改 pkg 源
# sed -i 's@^\(deb.*stable main\)$@#\1\ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/termux-packages-24 stable main@' $PREFIX/etc/apt/sources.list
# sed -i 's@^\(deb.*games stable\)$@#\1\ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/game-packages-24 games stable@' $PREFIX/etc/apt/sources.list.d/game.list
# sed -i 's@^\(deb.*science stable\)$@#\1\ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/science-packages-24 science stable@' $PREFIX/etc/apt/sources.list.d/science.list
# 设置新源链接后切换源仓库命令
# termux-change-repo -y

# 执行升级命令并自动输入y并回车确认
yes | pkg update
yes | pkg upgrade

# 安装wget  
pkg install -y wget zip unzip which termux-tools git openssl proot binutils aapt aapt2 tsu

pkg install -y python3
pip3 install flask
tsu